package ${packageName}.model;

import com.e3.web.core.model.SuperModel;

public class ${className} extends SuperModel implements ${className}Fields{
	private static final long serialVersionUID = -3490577507462281438L;
	
	<#list TableMeta.colMetas as field>
	private ${TableMeta.getJavaTypeName(field)} ${TableMeta.getJavaFieldName(field)};
	
	</#list>
	
	<#list TableMeta.colMetas as field>
	public ${TableMeta.getJavaTypeName(field)} ${TableMeta.getGetterMethod(field)}(){
		return this.${TableMeta.getJavaFieldName(field)};
	}
	
	public void ${TableMeta.getSetterMethod(field)}(${TableMeta.getJavaTypeName(field)} ${TableMeta.getJavaFieldName(field)}){;
		this.${TableMeta.getJavaFieldName(field)} = ${TableMeta.getJavaFieldName(field)};
	}
	
	</#list>
	
	public String[] getPropertyNames() {
		return fieldNames;
	}
}